﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace badminton
{
    public class LoginSession
    {
        public string m_loginType;
        public int m_loginId;
    }

    public class CourtSearchSession
    {
        public DateTime m_startTime;
        public int m_cityAreaId;
        public int m_hallId;
        public double m_timeSpan;
    }

    public class TrainingSearchSession
    {
        public int m_trainingCatId;
        public int m_cityAreaId;
        public int m_hallId;
        public string m_searchStr;
    }

    class Utility
    {
        public static string getWebRootVirtual(HttpRequest request)
        {
            return "http://" + request.Url.Host + request.ApplicationPath;
        }
    }
}